package com.wteam.dragon.shop.pojo.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wteam.dragon.shop.pojo.bean.Product;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @Author 陈晓辉
 * @Date 2021/3/24 16:59
 */
@Getter
@Setter
@TableName("flash_promotion_product")
public class FlashPromotionProductDto {
    private Long id;

    private Long flashPromotionId;

    private Long flashPromotionSessionId;

    private Long productId;

    private BigDecimal flashPromotionPrice;

    private Integer flashPromotionCount;

    private Integer flashPromotionLimit;

    private Integer sort;

    @TableLogic
    private Boolean isDelete;

    @TableField(exist = false)
    private Product product;
}
